public class java008 {
    public static void main(String[] args){
        double sum=0;
        for (int i=1;;i++){
            sum=sum+2.5;
            if(i%5==0){
                sum=sum-6;
            }
            if(sum>100){
                System.out.println("第"+i+"天存到了100元");
                break;
            }
        }
    }
}
